<template>
  <div class="Home">
    <main>
      <router-view />
    </main>
    <footer>
      <van-tabbar route>
        <van-tabbar-item replace to="/about" icon="home-o">首页</van-tabbar-item>
        <van-tabbar-item replace to="/List" icon="search">租房</van-tabbar-item>
         <van-tabbar-item replace to="/My" icon="contact">我的</van-tabbar-item>
      </van-tabbar>
    </footer>
  </div>
</template>

<script>
export default {};
</script>

<style>
.Home {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  overflow: scroll;
  /* background: #fff; */
}
footer {
  width: 100%;
  height: 60px;
  background: #fff;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.van-hairline--top-bottom{
  width: 100%;
  height: 100%;
}
.van-tabbar-item__text{
 font-size: 15px;
}
.van-tabbar-item__icon{
  font-size: 20px;
}
.van-tabbar-item--active{
 color: aquamarine;
}
</style>
